package cn.dckeji.dcssm.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 
 * </p>
 *
 * @author Kenny
 * @since 2019-08-01
 */
@ApiModel(value="Countdown对象", description="")
public class Countdown extends Model<Countdown> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.UUID)
    private String id;

    @TableField("times")
    private String times;

    @TableField("times2")
    private String times2;

    public String getTimes2() {
        return times2;
    }

    public void setTimes2(String times2) {
        this.times2 = times2;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getTimes() {
        return times;
    }

    public void setTimes(String times) {
        this.times = times;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "Countdown{" +
                "id='" + id + '\'' +
                ", times='" + times + '\'' +
                ", times2='" + times2 + '\'' +
                '}';
    }
}
